﻿
using System;
using Framework.Zhaogang.Soa.Agent;
using System.Configuration;

//
// 注： 请自行添加对契约Dll的引用，以及对找钢Framework.Zhaogang.Soa.Common.dll 和 Framework.Zhaogang.Soa.Agent.dll的引用.
//         本代码由生成工具生成，如果遇到问题请找RTX：yys
//         代码生成时间：2015-06-17 13:27:01
//

namespace Tin.Esay.Framework.Proxy
{
    public class RedemptionProxy
    {
        /// <summary>
        /// 请在 <AppSetting> 节点中加入 "RedemptionServiceUrl" 的键，并键入正确的Api调用地址.
        /// </summary>
        private string RedemptionServiceUrl
        {
            get
            {
                return ConfigurationSettings.AppSettings["RedemptionServiceUrl"].ToString();
            }
        }

        /// <summary>
        /// 货主契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetStockOwnerByConditionResponse GetStockOwnerByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetStockOwnerByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetStockOwnerByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetStockOwnerByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 合同契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetContractListByConditionResponse GetContractListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetContractListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetContractListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetContractListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 供应商契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetSupplierListByConditionResponse GetSupplierListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetSupplierListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetSupplierListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetSupplierListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 地区契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetAreaListByConditionResponse GetAreaListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetAreaListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetAreaListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetAreaListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 材质契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetMaterialListByConditionResponse GetMaterialListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetMaterialListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetMaterialListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetMaterialListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 品类契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetCategoryListByConditionResponse GetCategoryListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetCategoryListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetCategoryListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetCategoryListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 规格契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetSpecificationListByConditionResponse GetSpecificationListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetSpecificationListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetSpecificationListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetSpecificationListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 账户-获取用户账户信息 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetFactoryListByIDResponse GetFactoryListByID(Feature.Zhaogang.Redemption.Contracts.Contracts.GetFactoryListByIDRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetFactoryListByIDContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetFactoryListByIDContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 货源契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetFactoryListByConditionResponse GetFactoryListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetFactoryListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetFactoryListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetFactoryListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 产品线契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetProductLineListByConditionResponse GetProductLineListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetProductLineListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetProductLineListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetProductLineListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 仓库契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetWarehouseListByConditionResponse GetWarehouseListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetWarehouseListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetWarehouseListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetWarehouseListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.AddFinanceReceivableResponse AddFinanceReceivable(Feature.Zhaogang.Redemption.Contracts.AddFinanceReceivableRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.AddFinanceReceivableContract contract =
                new Feature.Zhaogang.Redemption.Contracts.AddFinanceReceivableContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.AddFinanceReceivableRealResponse AddFinanceReceivableReal(Feature.Zhaogang.Redemption.Contracts.AddFinanceReceivableRealRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.AddFinanceReceivableRealContract contract =
                new Feature.Zhaogang.Redemption.Contracts.AddFinanceReceivableRealContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.CreateFinanceInWarehouseResponse CreateFinanceInWarehouse(Feature.Zhaogang.Redemption.Contracts.CreateFinanceInWarehouseRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.CreateFinanceInWarehouseContract contract =
                new Feature.Zhaogang.Redemption.Contracts.CreateFinanceInWarehouseContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 创建财务出库数据 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.CreateFinanceOutWarehouseResponse CreateFinanceOutWarehouse(Feature.Zhaogang.Redemption.Contracts.Contracts.CreateFinanceOutWarehouseRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.CreateFinanceOutWarehouseContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.CreateFinanceOutWarehouseContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 新增无订单付款申请（预付货款、保证金） 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.AddNoOrderPaymentApplicationResponse AddNoOrderPaymentApplication(Feature.Zhaogang.Redemption.Contracts.Contracts.AddNoOrderPaymentApplicationRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.AddNoOrderPaymentApplicationContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.AddNoOrderPaymentApplicationContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 账户-获取用户账户信息 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.AuditNoOrderPaymentResponse AuditNoOrderPayment(Feature.Zhaogang.Redemption.Contracts.Contracts.AuditNoOrderPaymentRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.AuditNoOrderPaymentContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.AuditNoOrderPaymentContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 获取预付货款信息列表 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetNoOrderPaymentListByConditionResponse GetNoOrderPaymentListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetNoOrderPaymentListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetNoOrderPaymentListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetNoOrderPaymentListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 通过业财-收支款系统，获取无订单付款-预付货款信息列表 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetNoOrderPaymentInfoByFinanceResponse GetNoOrderPaymentInfoByFinance(Feature.Zhaogang.Redemption.Contracts.Contracts.GetNoOrderPaymentInfoByFinanceRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetNoOrderPaymentInfoByFinanceContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetNoOrderPaymentInfoByFinanceContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 根据赎货单ID获取客户信息 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetCustomerIdByRedemptionResponse GetCustomerIdByRedemption(Feature.Zhaogang.Redemption.Contracts.Contracts.GetCustomerIdByRedemptionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetCustomerIdByRedemptionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetCustomerIdByRedemptionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 无订单支款审核 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.AuditPaymentResponse AuditPayment(Feature.Zhaogang.Redemption.Contracts.Contracts.AuditPaymentRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.AuditPaymentContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.AuditPaymentContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentCheckResponse PaymentCheck(Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentCheckRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentCheckContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentCheckContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货付款 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentResponse Payment(Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 账户-获取用户账户信息 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentMergeResponse PaymentMerge(Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentMergeRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentMergeContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.PaymentMergeContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货-赎货单增加商品 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.AddRedemptionProductsResponse AddRedemptionProducts(Feature.Zhaogang.Redemption.Contracts.Contracts.AddRedemptionProductsRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.AddRedemptionProductsContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.AddRedemptionProductsContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        

       

        /// <summary>
        /// 获取单条赎货单契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.OurPushRedeptionResponse OurPushRedeption(Feature.Zhaogang.Redemption.Contracts.Contracts.OurPushRedeptionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.OurPushRedeptionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.OurPushRedeptionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 获取单条赎货单契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.OurPushRepaymentResponse OurPushRepayment(Feature.Zhaogang.Redemption.Contracts.Contracts.OurPushRepaymentRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.OurPushRepaymentContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.OurPushRepaymentContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 获取单条赎货单契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionByIDResponse GetRedemptionByID(Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionByIDRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionByIDContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionByIDContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货-获取利息用赎货数据 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByInterestResponse GetRedemptionListByInterest(Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByInterestRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByInterestContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByInterestContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货支款信息 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByRebateLadderResponse GetRedemptionListByRebateLadder(Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByRebateLadderRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByRebateLadderContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByRebateLadderContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货-获取结算用赎货数据 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListBySettlementResponse GetRedemptionListBySettlement(Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListBySettlementRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListBySettlementContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListBySettlementContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货-赎货单减少商品 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.ReduceRedemptionProductsResponse ReduceRedemptionProducts(Feature.Zhaogang.Redemption.Contracts.Contracts.ReduceRedemptionProductsRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.ReduceRedemptionProductsContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.ReduceRedemptionProductsContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 通过入库单号，获取车船号 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetVehicleNoByStockInCodeResponse GetVehicleNoByStockInCode(Feature.Zhaogang.Redemption.Contracts.Contracts.GetVehicleNoByStockInCodeRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetVehicleNoByStockInCodeContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetVehicleNoByStockInCodeContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货单-转托盘业务契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.TransferTrayResponse TransferTray(Feature.Zhaogang.Redemption.Contracts.Contracts.TransferTrayRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.TransferTrayContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.TransferTrayContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货-赎货单撤销 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.CancelRedemptionResponse CancelRedemption(Feature.Zhaogang.Redemption.Contracts.Contracts.CancelRedemptionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.CancelRedemptionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.CancelRedemptionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货-删除结算信息 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.DeleteSettlementInfoResponse DeleteSettlementInfo(Feature.Zhaogang.Redemption.Contracts.Contracts.DeleteSettlementInfoRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.DeleteSettlementInfoContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.DeleteSettlementInfoContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 更新B2客户信息契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateB2CustomerInfoResponse UpdateB2CustomerInfo(Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateB2CustomerInfoRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateB2CustomerInfoContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateB2CustomerInfoContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货单-实提完结by销售订单 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.OverDeliveryResponse OverDelivery(Feature.Zhaogang.Redemption.Contracts.Contracts.OverDeliveryRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.OverDeliveryContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.OverDeliveryContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 修改闽路润确认状态契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateMlrConfirmStatusResponse UpdateMlrConfirmStatus(Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateMlrConfirmStatusRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateMlrConfirmStatusContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateMlrConfirmStatusContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 退货契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.ReturnProductsResponse ReturnProducts(Feature.Zhaogang.Redemption.Contracts.Contracts.ReturnProductsRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.ReturnProductsContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.ReturnProductsContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货-更新结算价 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSettlementPriceResponse UpdateSettlementPrice(Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSettlementPriceRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSettlementPriceContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSettlementPriceContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 导出赎货单明细契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.ExportRedemptionProductsListByConditionResponse ExportRedemptionProductsListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.ExportRedemptionProductsListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.ExportRedemptionProductsListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.ExportRedemptionProductsListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货单-回写B1付款状态by销售订单 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.UpdatePaymentStatusResponse UpdatePaymentStatus(Feature.Zhaogang.Redemption.Contracts.Contracts.UpdatePaymentStatusRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.UpdatePaymentStatusContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.UpdatePaymentStatusContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货单-回写订单状态by销售订单 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSalesOrderStatusResponse UpdateSalesOrderStatus(Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSalesOrderStatusRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSalesOrderStatusContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSalesOrderStatusContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货单-回写资金方审核状态by销售订单 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateInvestorStatusResponse UpdateInvestorStatus(Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateInvestorStatusRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateInvestorStatusContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateInvestorStatusContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货-创建赎货单 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.CreateRedemptionResponse CreateRedemption(Feature.Zhaogang.Redemption.Contracts.Contracts.CreateRedemptionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.CreateRedemptionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.CreateRedemptionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 获取赎货单契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByConditionResponse GetRedemptionListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 获取赎货单明细契约 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionProductsListByConditionResponse GetRedemptionProductsListByCondition(Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionProductsListByConditionRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionProductsListByConditionContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.GetRedemptionProductsListByConditionContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货单-回写实提信息by销售订单 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateDeliveryInfoResponse UpdateDeliveryInfo(Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateDeliveryInfoRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateDeliveryInfoContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateDeliveryInfoContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货-调整赎货价 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.ModifyRedemptionAmountResponse ModifyRedemptionAmount(Feature.Zhaogang.Redemption.Contracts.Contracts.ModifyRedemptionAmountRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.ModifyRedemptionAmountContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.ModifyRedemptionAmountContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

        /// <summary>
        /// 赎货-回写结算信息 
        /// </summary>
        public Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSettlementInfoResponse UpdateSettlementInfo(Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSettlementInfoRequest request)
        {
            Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSettlementInfoContract contract =
                new Feature.Zhaogang.Redemption.Contracts.Contracts.UpdateSettlementInfoContract()
                {
                    Request = request
                };
            AgentFactory.CreateAgent(RedemptionServiceUrl).Request(contract);
            return contract.Response;
        }

    }
}



